using System;
using System.Linq;
using Yonkly.Controllers;

namespace Yonkly.Models
{
    public class FollowLinkViewData: BaseViewData
    {
        public FollowLinkViewData(BaseViewData mybase):base(mybase)
        {
            
        }

        public Guid FriendId { get; set; }

        public bool IsFriend
        {
            get
            {
                return FriendsController.IsFriend(LoggedInUser.UserId, FriendId);
            }
        }
    }
}